-
Notifications
You must be signed in to change notification settings - Fork 103
Promote exit tests to API #324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
fe21f14
to
988ddfe
Compare
988ddfe
to
697123a
Compare
19f37c3
to
4825821
Compare
feb425b
to
e84b014
Compare
6f0e7f0
to
875b870
Compare
875b870
to
4365611
Compare
4365611
to
7d25e07
Compare
Rebased. |
…ial language standard)
23985d8
to
11b772d
Compare
@swift-ci test |
@swift-ci test |
@swift-ci test |
/// } | ||
/// ``` | ||
/// | ||
/// An exit test cannot run within another exit test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see most of the content removed here has been adapted in the <doc:exit-testing>
article, but I don't see a reference to this sentence
An exit test cannot run within another exit test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might have gotten elided during editing. It isn't worth its own section, but maybe put it as a - Note
callout somewhere reasonable?
@swift-ci please test |
public static var failure: Self { | ||
Self(_kind: .failure) | ||
} | ||
|
||
public init(_ statusAtExit: StatusAtExit) { | ||
self.init(_kind: .statusAtExit(statusAtExit)) | ||
/// Initialize an instance of this type that matches the specified exit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iamleeg Please review this symbol's blurb. Thanks! This is a casting initializer.
This PR promotes exit tests to API, pending approval of the proposal at swiftlang/swift-evolution#2718.
View the full proposal here.
Checklist: